<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        
        @keyframes pohone{
            from{
                
                background-position:0 0;
            }
            to{
                background-position:-1472px 0;
            }
        }
        @keyframes test{
            from{
                transform:rotateY(0deg);
            }
            49%{
                transform:translate(390px) rotateY(0deg);
            }
            50%{
                transform: translate(400px) rotateY(180deg);
            }
            99%{
                transform:rotateY(180deg);
            }
            to{
                transform:translate(0px);
            }
        }
        .box{
            
            width:175px;
            height: 325px;
            background: url(./1.png) no-repeat 0 0/1472px 325px;
            animation:pohone 10s steps(8) infinite ,test 10s steps(8) infinite ;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="son"></div>
    </div>
</body>
</html>